package cn.bdqn.or.service.xingservice;

import cn.bdqn.or.dao.xingdao.User;

import java.util.List;

public class UserService implements User {
private User user;

    @Override
    public int getTotal() {
        return user.getTotal();
    }

    @Override
    public List<User> selectUser() {
        return user.selectUser();
    }

    @Override
    public List<User> findAll(String memberName) {
        return user.findAll(memberName);
    }

    @Override
    public  List<User> findById(int memberId) {
        return user.findById(memberId);
    }

    @Override
    public List<User> addUser(User user) {
        return user.addUser(user);
    }


    @Override
    public boolean updateUser(User user,int memberId) {
        return user.updateUser(user,memberId);
    }

    @Override
    public Integer deleteUser( int memberId) {
        return user.deleteUser(memberId);
    }
}
